export const formatDate = date => {
	let d = new Date(date)

	return `${d.getFullYear()}-${d.getMonth() < 9 ? 0+(d.getMonth()+1) : d.getMonth()+1}-${d.getDate()} 
	${d.getHours()< 10 ? '0'+d.getHours(): d.getHours()}:${d.getMinutes()}:${d.getSeconds()}`
}
